<!DOCTYPE html>
<html lang="en">
    <head>
        <th:block th:include="include :: header('文件上传')" />
        <th:block th:include="include :: bootstrap-fileinput-css" />
    </head>
<body>
    <div class="form-group">
        <label class="font-noraml">多文件上传</label>
        <div class="file-loading">
            <input id="fileinput-demo-1" type="file" multiple>
            <!-- <input type="file" name="" id="" multiple> -->
        </div>
    </div>
</body>
</html>
<th:block th:include="include :: footer" />
<th:block th:include="include :: bootstrap-fileinput-js" />
<script type="text/javascript">
$(document).ready(function () {
    $("#fileinput-demo-1").fileinput({
        'theme': 'explorer-fas',
        'uploadUrl': "/business/file/dw/zy/[[${zyid}]]",
        overwriteInitial: false,
        initialPreviewAsData: true,
        initialPreview: [
           
        ]
    });
   
});
</script>